package model;

public class YearCard {
	private int cardId; //卡号
	private String startDate; //卡生效日期
	private String endDate; //卡截止日期
	public int getCardId() {
		return cardId;
	}
	public void setCardId(int cardId) {
		this.cardId = cardId;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public YearCard(int cardId, String startDate, String endDate) {
		super();
		this.cardId = cardId;
		this.startDate = startDate;
		this.endDate = endDate;
	}
	public YearCard() {
		// TODO Auto-generated constructor stub
	}
	public String getEndDate() {
		return endDate;
	}
	@Override
	public String toString() {
		return "YearCard [cardId=" + cardId + ", startDate=" + startDate + ", endDate=" + endDate + "]";
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
}
